package com.qidian.mes.log.mapper;

import com.qidian.mes.log.pojo.OptionLog;
import org.apache.ibatis.annotations.Insert;

/**
 * @Author 戴着假发的程序员
 * @Company 起点编程
 * @Time 2023/10/26 10:22
 * @Description
 */
public interface LogMapper {
    @Insert("insert into SYS_OPTION_LOG(USER_ID,OPTION_MODULE,OPTION_TYPE,REQUEST_METHOD,REQUEST_PARAM,REQUEST_RESULT,REQUEST_PATH,REQUEST_ADDRESS) " +
            " values(#{userId},#{optionModule},#{optionType},#{requestMethod},#{requestParam},#{requestResult},#{requestPath},#{requestAddress})")
    int saveOption(OptionLog log);
}
